home *** CD-ROM | disk | FTP | other *** search
/ Informática Multimedia 1995 April / Informatica Multimedia CD - Epimundo.iso / DOS / FILEVIEW / TXTRUN.ZIP / TXTRUN.DOC < prev    next >
Encoding:
Text File  |  1991-05-19  |  41.1 KB  |  913 lines

  1.                    TXTRUN.EXE (turning text into softwares.)
  2.  
  3.           version 0.8 (c) copy right 1990-91 All Rights Reserved
  4.  
  5.           Did you want to make your own software without knowing the
  6.           ABC (Assembler, Basic or C)? (or Pascal etc)
  7.  
  8.           A program which turns your ascii text into .COM software
  9.           (not .EXE) with pop up page (or open like a vertical/
  10.           horizontal/both-way door and which then moves to where it
  11.           should) and selections to go to other pages or softwares?
  12.  
  13.           Something which can behave like a pull-down menu software, 
  14.           or a simple dungeons and dragons game with rooms/floors or a 
  15.           DOS shell to run other softwares/batch-files/DOS-commands?
  16.           (and moving the cursor to each selection also displays a 
  17.           detailed line of text explaining what it will do)
  18.  
  19.           Due to the numerous features here, this accompanying 
  20.           document is large, so it was divided into several segments 
  21.           starting with TXTRUN.DOC
  22.                         TXTRUN.DC1
  23.                         TXTRUN.DC2
  24.  
  25.           Some features are explained several times among these 
  26.           documents so that you do not have to memorize everything as 
  27.           a whole in order to understand how to use this program, but 
  28.           skim through these documents so that you have an idea as to 
  29.           what features exist.
  30.  
  31.           Do not modify the generated software (filename.COM type)
  32.           yourself.  It's easy for us to (for example) add overlays
  33.           so that you can access even bigger texts, but your tampering
  34.           may damage your computer.
  35.  
  36.           Alt### here means press down on the alt key and while 
  37.           keeping it pressed down, type one to three numbers on the
  38.           numeric keypad and then release the alt key.  They do not 
  39.           refer to the numbers above the letters "QWERTYUIOP".
  40.  
  41.           Before you go further, try running this program with 
  42.           TXTRUNDC.TXT as in
  43.  
  44.           TXTRUN ETXTRUNDC.TXT<ntr>
  45.                  ^--don't forget this "E" for Edit.
  46.  
  47.           This provides interactive help.  Then you can see the 
  48.           TXTRUNDC.TXT document text file with your editor or word 
  49.           processor to see how it looked like.
  50.  
  51.           The set up of this document is as follows:
  52.  
  53.                             TXTRUN.DOC
  54.  
  55.           Explanations of various in-line command parameters.
  56.                EDIT A FILE
  57.                CHANGING THE LETTER "T" IN .EDT
  58.                CHANGING THE SCREEN CODE CHR(19)
  59.                CHANGING THE FORM FEED CODE CHR(12)
  60.                TURNING OFF THE BEEPING
  61.                MAKING YOUR OWN BOX CHARACTERS
  62.                THE <NTR> CODE AS MUSIC SIGN WHILE EDITING
  63.                POPPING DOWN FROM ANOTHER LEVEL ON ANY PAGE
  64.                ONE WAY PASSAGE THROUGH PAGES
  65.                CLEARING THE SCREEN (NUMBER OF ROWS)
  66.                CLEARING THE SCREEN (NUMBER OF COLUMNS)
  67.                CLEARING THE SCREEN TO ANOTHER ATTRIBUTE
  68.                ALLOW SNOW ON CGA
  69.                SUBROUTINE SIGNIFIER
  70.                CHANGE BACK
  71.                PATCHING THE PROGRAM
  72.  
  73.                             TXTRUN.DC1
  74.  
  75.           FORMAT REQUIRED FOR YOUR TEXT FILE
  76.           CALLING OTHER PAGES AS SUBROUTINES
  77.           RUNNING OTHER SOFTWARES FROM YOUR PAGES
  78.           COMMENTING EACH SELECTION ON YOUR SCREEN
  79.           HOW TXTRUN.EXE WORKS
  80.                EDITING REGULAR TEXT FILE
  81.                EDITING EITHER .EDT OR REGULAR TEXT FILE
  82.                     MOVING THE PAGES AROUND AND CHANGING ITS SIZE
  83.                     DEFINING THE PAGE ORDERS
  84.                     CALLING SUBROUTINES OR RUNNING SOFTWARES
  85.                THE .COM SOFTWARE
  86.           CHAT in a HAT
  87.  
  88.                             TXTRUN.DC2
  89.  
  90.           Prompts and messages generated by TXTRUN.EXE.
  91.           Disclaimer, contribution $/address, info for sysops and 
  92.                shareware distributors.
  93.  
  94.           =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  95.                           IN-LINE COMMAND PARAMETERS
  96.           TXTRUN parameters<ntr>            explanations
  97.           =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  98.                                  HELP
  99.  
  100.           If you simply type
  101.  
  102.           TXTRUN<ntr>
  103.  
  104.           then you get the help page built into this program for quick 
  105.           reference so that you can avoid reading documents such as 
  106.           this.  But this file contains more detailed information.
  107.  
  108.           The "<ntr>" is our way of saying <CR>, ^M, ^13, <ENTER>, 
  109.           carriage return, <ENTER> etc which all mean the same thing.
  110.           We also use <bks> for backspace, <esc> for the escape key, 
  111.           and "any key" to mean any function key, cursor key, letters, 
  112.           etc etc.  There is no one key with the word "any", but if we 
  113.           say "space bar", we mean the big long key.
  114.  
  115.           If you type incorrect values or no required values with
  116.           most options, very detailed error messages will display to
  117.           act as a context sensitive help.  Once you have read this
  118.           document and know the types of options available, you can
  119.           use this feature as a context sensitive help without
  120.           referring back too often to this document.
  121.  
  122.                Normally, you can run TXTRUN within a batch file so 
  123.                that you don't have to remember or to type the optional 
  124.                parameters which control TXTRUN.
  125.  
  126.           =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  127.                           RUNNING WITH DEFAULTS ONLY
  128.  
  129.           This program has no memory resident option.  Do not use the 
  130.           RUN option, because it does not exist.
  131.  
  132.           However, when this program (TXTRUN.EXE with ".EXE" file
  133.           extension) changes your text file into a .COM software with
  134.           DOS shell to run your softwares/batch-files/DOS-commands,
  135.           the .COM software will be memory resident while running your 
  136.           software etc.
  137.  
  138.                The .COM software is not given the ability to detect
  139.                the presence of itself in memory because as soon as
  140.                your software etc exits, the .COM software regains
  141.                control automatically.
  142.  
  143.           Normally, something which can change an editable file into a 
  144.           .COM software is called a "compiler" and is said to 
  145.           "compile" a "source file" into an "executable program", but
  146.           is here called a "program" (the TXTRUN.EXE) which can 
  147.           "change" your "text file" into a ".COM software".  The 
  148.           reason is due to technicalities and in order to avoid 
  149.           flooding you with unnecessary terminologies.
  150.  
  151.           This program is called "TXTRUN" and refers to the TXTRUN.EXE 
  152.           program itself.  It is not called "TXTRUN.EXE" because this 
  153.           (version, at least) does not have an accompanying action 
  154.           modifier file TXTRUN (no file extension such as .TXT, .DOC)
  155.           to necessitate differentiating between the two forms.
  156.  
  157.           Not being English majors, you may not appreciate the wording 
  158.           as easy to understand, but most regional expressions are 
  159.           eliminated for the benefit of people whose native tongue is 
  160.           not North American English. (But a British spell checker was 
  161.           used, so that there's a chance that a word which is 
  162.           incorrect in the U.S. may exist.)
  163.  
  164.           The difference between a program or software with file name 
  165.           extension .EXE and .COM lies in their sizes.  .EXE type may 
  166.           be any size you want, while .COM type is limited to 64 KB 
  167.           (about 65,536 bytes minus 256 for beginning and 256 - 1024 
  168.           bytes at the end for stack etc depending on DOS version).
  169.  
  170.           It is not necessary for you to understand the significance 
  171.           of these naming standards in order to use TXTRUN.  If you're 
  172.           interested in using standard computer programming languages, 
  173.           refer to the appropriate compilers and accompanying manuals.
  174.  
  175.           TXTRUN assumes that you have some minimal amount of 
  176.           understanding about computers, but otherwise guides you step 
  177.           by step on its way.
  178.  
  179.           =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  180.                              EDIT A FILE
  181.  
  182.           This is normally the first option to use.  I hope you 
  183.           already ran the sample TXTRUNDC.TXT file as recommended?
  184.  
  185.           Given any text file, it is changed into a .COM software by 
  186.           using this option as follows
  187.  
  188.           TXTRUN Eyourfile<ntr>
  189.  
  190.                Note that there is no space between the "E" option and 
  191.                the name of your file.  Any subdirectory path which 
  192.                exists is allowed.  DOS 3 and above will allow your 
  193.                file name to include extended ascii above chr(127).
  194.  
  195.                If you have a space between the E option and your file 
  196.                name, then a message tells you what happened.
  197.  
  198.           Your text file may have any file extension (the .EXE, .COM, 
  199.           .TXT, .DOC etc part) except ".EDT" which this program uses.
  200.           If any of your softwares must use this file extension, then 
  201.           the T option as explained next must be used.
  202.  
  203.           If you have any other option after the E option, since the E 
  204.           option is followed by the file name, the other option must 
  205.           be separated from the file name by a space or a tab as in
  206.  
  207.           TXTRUN EYOURFILE.DOC other-options<ntr>
  208.           TXTRUN EYOURFILE<tab>other-options<ntr>
  209.  
  210.           All options which will affect the file which you are editing 
  211.           should be placed BEFORE the E option, since the Edit option 
  212.           will start running as soon as TXTRUN sees it, rather than 
  213.           waiting for the other options which follows like this:
  214.  
  215.           TXTRUN AOFF BOFF Eyourfile<ntr>
  216.  
  217.                This strange feature is designed so that future 
  218.                versions can edit multiple text files like this
  219.  
  220.                TXTRUN Eonefile.txt Enextfile.doc Emorefile<ntr>
  221.  
  222.                up to the 128 characters limit allowed by DOS, if such 
  223.                a feature is desired. (it's useful in a batch file)
  224.  
  225.           Your text file may have any file extension, but if there is 
  226.           a file extension, do type it.  TXTRUN does not assume that 
  227.           your text file has any file extension so that if you type
  228.  
  229.           TXTRUN Eyourfile<ntr>
  230.  
  231.           it will look for a file called "yourfile", not 
  232.           "yourfile.txt" or "yourfile.doc" or "yourfile.fil" etc.
  233.  
  234.           =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  235.                     CHANGING THE LETTER "T" IN .EDT
  236.  
  237.           Normally, TXTRUN will make an intermediary file with the 
  238.           name of your file and the file extension .EDT which will 
  239.           hold all changes you've done to your text file before making 
  240.           the .COM software.
  241.  
  242.           If your other softwares uses files with the same file 
  243.           extension, then you can change or avoid the letter "T" in 
  244.           ".EDT".  Let's say that you want TXTRUN to edit YOURFILE.TXT 
  245.           and make the intermediary file YOURFILE.EDD, rather than 
  246.           YOURFILE.EDT:
  247.  
  248.           TXTRUN TD EYOURFILE.TXT<ntr>
  249.  
  250.           will edit your file, but when you type "S" at the menu page 
  251.           0 to save the intermediary file, it will save a file called 
  252.           YOURFILE.EDD, rather than YOURFILE.EDT as expected.
  253.  
  254.                Note that the "TD" comes before the EYOURFILE.TXT.  If 
  255.                you had
  256.  
  257.                TXTRUN EYOURFILE.TXT TD<ntr>
  258.  
  259.                then it will save YOURFILE.EDT because the edit option 
  260.                starts running as soon as TXTRUN sees the E option.
  261.  
  262.           If all combinations of .ED"A" through .ED"Z" and numbers 
  263.           such as .ED"0" through .ED"9" are used or you don't want to 
  264.           type three letters because it's bothersome, then what?
  265.  
  266.           TXTRUN T  EYOURFILE.TXT<ntr>
  267.                   ^
  268.                   |
  269.           Note the space here.  Now, the intermediary file written to 
  270.           disk will be "YOURFILE.ED".
  271.  
  272.                Be sure to use the same "T " option when you edit this 
  273.                file as follows
  274.  
  275.                TXTRUN T  EYOURFILE.ED<ntr>
  276.  
  277.                If you do
  278.  
  279.                TXTRUN EYOURFILE.ED<ntr>
  280.  
  281.                TXTRUN will be confused because it thinks that you 
  282.                wanted to edit a regular ascii text file with the file 
  283.                extension .ED, but it finds the content of the text 
  284.                file looks like an .EDT intermediary file.
  285.  
  286.           If you want on-line context sensitive help or if you 
  287.           accidentally type either of
  288.  
  289.           TXTRUN T<ntr>
  290.           TXTRUN T<tab> EYOURFILE.TXT<ntr>
  291.  
  292.           you will get the message explaining about the letter "T" 
  293.           option.
  294.  
  295.           After the T option, the only characters allowed are " " 
  296.           (also known as chr(32), space or <spc>) to avoid any letter, 
  297.           or chr(33) - chr(255).  Depending on your DOS version, some 
  298.           characters in this range are not allowed but allowed on 
  299.           others.  Characters such as the less than sign "<", bar 
  300.           character "|" and the greater than sign ">" are never 
  301.           allowed because they are used by every DOS versions and all 
  302.           small letters and capital letters are treated identically.
  303.  
  304.                If you can afford the blank diskettes, it is highly 
  305.                recommended that you make the intermediary yourfile.EDT 
  306.                file before you make any .COM software from it.  The 
  307.                .EDT file has all the page sizes, locations, attributes 
  308.                and others included so that you can make another .COM
  309.                software from it, rather than starting from the 
  310.                beginning with your text file.
  311.  
  312.           Default is
  313.  
  314.           TXTRUN TT .......<ntr>
  315.  
  316.           Typing this is the same as if you did not type it.
  317.  
  318.           =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  319.                        CHANGING THE SCREEN CODE CHR(19)
  320.  
  321.           The enclosed TXTRUNDC.TXT file is pure ascii, and you should 
  322.           be able to make something like it with any editor or ascii 
  323.           word processor (including EDLIN.COM which comes with DOS), 
  324.           but it includes two control codes which must be present.  
  325.           One is the form feed code (chr(12) which appear as the venus 
  326.           mirror sign, which is often called the "female symbol").  
  327.           The other is the screen code, which is written here as "^S".
  328.  
  329.                This is the control-S key combination which is entered 
  330.                by pressing down on the control key and while keeping 
  331.                this key pressed down, also pressing down on the letter 
  332.                ess "S", not typing the caret character "^", releasing 
  333.                it, then typing the capital letter ess "S".
  334.  
  335.                The control-S can also be entered by pressing down on 
  336.                the alt key and while keeping it pressed down, typing 
  337.                "19" on the numeric keypad, not the "1" above the 
  338.                letter "Q" and the "9" above the letters "IO".
  339.  
  340.                On lower cost laptops (and palmtops), there is no 
  341.                dedicated numeric keypad, but your manual(s) will
  342.                explain the special key which will let you enter such 
  343.                key combinations.  Regardless of the actual keyboard 
  344.                layout, there should be no incompatibility software 
  345.                wise, as long as it is IBM PC compatible.
  346.  
  347.                This is compatible with all standard IBM CGA, 
  348.                monochrome, EGA and VGA.  Some support is provided for 
  349.                non-standard video cards.  For compatibility with low 
  350.                cost PCs, this works in text modes only and will change 
  351.                graphic mode screen to text mode before running.
  352.  
  353.           If your editor to make text files cannot include the ^S code
  354.           in your text file, then you can replace the screen code 
  355.           required with some character which you would not normally 
  356.           use in your text file.
  357.  
  358.           To make reverse character high-lighted line which will run 
  359.           another software, you need "^SS" in your text file.  If your 
  360.           editor cannot place this in your text, but you will not use 
  361.           the reverse single quote sign "`", which is chr(96), in your 
  362.           text file, you can try
  363.  
  364.           TXTRUN S96 Eyourfile.txt<ntr>
  365.  
  366.           With this, everytime your text file has the two characters 
  367.           "`S" (or "`s", since you can use capital or small letters), 
  368.           TXTRUN will accept this as a place where you want to have a 
  369.           selection to run another software (or batch file or DOS 
  370.           commands such as DIR, COPY, RENAME etc).
  371.  
  372.           The allowed values are S0 - S255, but you cannot use the
  373.           followings
  374.  
  375.           TXTRUN S13 Eyourfile.txt<ntr>               (1)
  376.           TXTRUN S10 Eyourfile.txt<ntr>               (2)
  377.           TXTRUN S12 Eyourfile.txt<ntr>               (3)
  378.           TXTRUN S9 Eyourfile.txt<ntr>                (4)
  379.           TXTRUN S8 Eyourfile.txt<ntr>                (5)
  380.  
  381.           The (1) cannot be used because you are trying to say that 
  382.           the screen code is the same as the <ntr> code which doesn't 
  383.           make sense if you're using an ascii editor.  (2) doesn't 
  384.           make sense either because it's the <lf> "line feed" code.
  385.           (3) is the form feed code.  S9 is similarly not allowed 
  386.           because TXTRUN will remove all tabs (which are chr(9)) from 
  387.           your text.  S8 is not allowed because TXTRUN uses this code 
  388.           to mark each page.
  389.  
  390.                Normally, you would not be able to use chr(8) in your 
  391.                text anyway, since chr(8) is "backspace" to delete the 
  392.                last character which you typed.
  393.  
  394.           The recommended values are S33 - S127 if you cannot enter 
  395.           extended ascii codes and S33 - 255 if you can enter extended 
  396.           ascii codes.  There is no provision to prevent you from 
  397.           using S1 - S7 but is not recommended. (if you can enter 
  398.           control codes, there should be no need to redefine the 
  399.           screen code with another control codes.)
  400.  
  401.                Extended ascii codes chr(128) - chr(255) is something 
  402.                IBM made for its PC line back in 1981.  If you use the 
  403.                JIS coding which allows multi-European and Japanese 
  404.                kana/kanji, it's a frustratingly tiny set, but its 
  405.                better than IBM EBCDIC or DEC RAD50 (may they rest in 
  406.                piece, whoops, I meant peace)
  407.  
  408.           Default is
  409.  
  410.           TXTRUN S19 .......<ntr>
  411.  
  412.           Typing this is the same as if you did not type it.
  413.  
  414.           Wherever an option requires you to type letters and related 
  415.           characters, those letters must be stuck to the option 
  416.           without any space like this:
  417.  
  418.           TXTRUN AOFF Eyourfile<ntr>
  419.                  ^    ^
  420.                  |    |
  421.                  these are connected to its suboption or values 
  422.                  without any space or tab separating them.
  423.  
  424.           Wherever an option requires you to type numbers, those 
  425.           numbers need not be stuck to the option and may be separated 
  426.           by spaces and tabs like this
  427.  
  428.           TXTRUN S 19 Eyourfile<ntr>
  429.  
  430.           The reason for this discrepancy between the two forms is  
  431.           because numbers cannot contain spaces, but <spc> (also    
  432.           illustrated as " " or chr(32)) is considered one of the   
  433.           non-number characters.  That's the reason why the BOX option
  434.           can include spaces like this which are valid for the BOX  
  435.                                                  option.  Or they   
  436.           TXTRUN BOX1         Eyourfile<ntr>     could be <tab> or  
  437.                      ^^^^^^^^                    some other non-    
  438.                      ||||||||                    conventional       
  439.                      12345678                    characters in here.
  440.                      eight spaces
  441.  
  442.           =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  443.                       CHANGING THE FORM FEED CODE CHR(12)
  444.  
  445.           Normally, the presence of the form feed code determines how 
  446.           long (number of rows) the page displayed will be.  The 
  447.           recommended length is after 23 rows when the .COM software 
  448.           will be running on any monitor, 41 on 43 rows EGA monitors
  449.           only or 48 on 50 rows VGA monitors only.  This discrepancy 
  450.           allows for the box itself, which occupies two columns and 
  451.           two rows of your screen.
  452.  
  453.           If your editor cannot place a form feed code in your text, 
  454.           then you can use a character which you normally do not 
  455.           include in your text file.
  456.  
  457.           The same restrictions and freedoms as for the above screen 
  458.           code applies here.  The TXTRUNDC.TXT shows how the form feed 
  459.           or its equivalent should be used.
  460.  
  461.           If your text file normally does not contain the at sign "@" 
  462.           (chr(64)) and you cannot insert the form feed sign 
  463.           (chr(12)), then you can substitute the at sign wherever a 
  464.           form feed is required in your text and do
  465.  
  466.           TXTRUN F64 Eyourfile<ntr>
  467.  
  468.           This lets TXTRUN interpret every at sign "@" as a form feed 
  469.           code.
  470.  
  471.                Note that the F option is before the E option, since 
  472.                the Edit option will run as soon as it is found and 
  473.                will not wait for other options which follows it.
  474.  
  475.           If you use WordStar as your editor, use it in the non-word 
  476.           wrapping non-document mode.  If you use the new WordStar 
  477.           which allow extended ascii, do not use extended ascii, since 
  478.           WordStar includes special codes before and after each 
  479.           extended ascii.
  480.  
  481.                The restrictions and exceptions of various word 
  482.                processors and editors are not documented here because 
  483.                that requires an entire book on its own.  When in 
  484.                doubt, just use the regular printable characters which 
  485.                you can see on your keyboard directly, such as the 
  486.                symbols above the numbers "!@#$%^&*()_+".
  487.  
  488.           Default is
  489.  
  490.           TXTRUN F12 .....<ntr>
  491.  
  492.           Typing this is the same as if you did not type it.
  493.  
  494.           =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  495.                          TURNING OFF THE BEEPING
  496.  
  497.           While Editing your text file, TXTRUN makes a loud Beeping 
  498.           sound accompanying some error messages.  If you're annoyed 
  499.           by such sounds, you can turn it OFF by using the B option
  500.  
  501.           TXTRUN BOF Eyourfile<ntr>
  502.           TXTRUN BOFF Eyourfile<ntr>
  503.  
  504.           Either form is allowed to turn OFF the Beeping.
  505.  
  506.           The letter "B" must be connected with the letters "OF" or 
  507.           "OFF" in order for this to work.
  508.  
  509.           There is another option which begins with the letters "BO" 
  510.           so typing "BO" alone does not work.
  511.  
  512.           The default is
  513.  
  514.           TXTRUN BON .....<ntr>
  515.  
  516.           but no such option exists and will be marked as an error if 
  517.           you do try to type it.
  518.  
  519.           =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  520.                       MAKING YOUR OWN BOX CHARACTERS
  521.  
  522.           Once you begin Editing your text file, control-left and 
  523.           control-right lets you change the box types.  There are 
  524.           symmetric and asymmetric shapes which can be used to signify 
  525.           that you're on the main section, sub-section, left corner, 
  526.           right corner and other choices.  If you don't like any of 
  527.           the nine types provided, you can replace the box types with 
  528.           your own.
  529.  
  530.           Box type 1 is the double line box type.  If you want to 
  531.           replace it with numbers "02345678" (this is a ridiculous
  532.           choice, but it illustrates what characters are required in
  533.           what order) just do
  534.  
  535.           TXTRUN BOX102345678 Eyourfile<ntr>
  536.  
  537.           All type 1 boxes will now look like this.  The blank on the
  538.                                right bottom will be filled with the
  539.           0222222222222223     page number which you are using now.
  540.           4              5     
  541.           4              5          The first number "1" after "BOX" as
  542.           4              5     in "BOX1" indicates that you want to 
  543.           4              5     change the box type 1 of 1 - 9 choices.
  544.           6   777777777778     Allowed types are
  545.  
  546.           TXTRUN BOX1......<ntr>
  547.  
  548.           through
  549.  
  550.           TXTRUN BOX9......<ntr>
  551.  
  552.           for the nine box types.  Anything outside this range is not 
  553.           allowed.  Except for the <ntr> code itself, any and all 
  554.           character which DOS doesn't intercept (such as "<", "|" and 
  555.           ">") is acceptable as the eight codes making up the box, 
  556.           including other control codes. (chr(1) - chr(31)).
  557.  
  558.           TXTRUN BOX2[] Eyourfile<ntr>
  559.  
  560.           will try to replace the box type 2 (single line box) with 
  561.           the characters "[] Eyour" and will see "file" as the Form 
  562.           feed code substitution.  The form feed code is not followed 
  563.           by a number, so it will tell you that the form feed code is 
  564.           incorrect.
  565.  
  566.           TXTRUN BOX3<ntr>
  567.  
  568.           will try to replace the box type 3 (double line on top and 
  569.           bottom, single line on left and right), but since you did 
  570.           not have eight characters following it, it reports this as 
  571.           an error.  If you type
  572.  
  573.           TXTRUN B3<ntr>
  574.  
  575.           This is seen as a Beep OFF feature, but since you did not 
  576.           follow the B option with OF or OFF, it will not run.
  577.  
  578.           If you don't want any visible box around your text, the box 
  579.           type 9 is filled with blank spaces, but the .COM software 
  580.           made by TXTRUN will still act as if there is a box and will 
  581.           still restrict text to 78 columns wide on an 80 columns wide 
  582.           screen.
  583.  
  584.           =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  585.                  THE <NTR> CODE AS MUSIC SIGN WHILE EDITING
  586.  
  587.           While you're Editing your text file, the end-of-line on each 
  588.           line is indicated by the presence of a music sign.  This 
  589.           same sign will appear once the .COM software is made also.
  590.  
  591.           If you don't want anything to appear to indicate the end of 
  592.           each line, replace the E13 default to E32 like this.
  593.  
  594.           TXTRUN N32 Eyourfile<ntr>
  595.  
  596.           Now the end-of-line indicator is chr(32), which is <spc>, or 
  597.           also shown as " ".  Since this cannot be seen, this will not 
  598.           show.
  599.  
  600.           If you used the alt-T option to make the Top line on each 
  601.           page into a Title for that page, that line will never have 
  602.           an end-of-line indicator, since that's inappropriate for a 
  603.           title anyway.
  604.  
  605.           Any codes chr(1) through chr(255) are allowed for this since 
  606.           this only affects how the screen will display on screen.  It 
  607.           does not affect how the text is handled internally.
  608.  
  609.           If you use the <tab> code as in
  610.  
  611.           TXTRUN N9 Eyourfile<ntr>
  612.  
  613.           then the end-of-line indicator will be a rectangular box 
  614.           with a round hole in the middle, not a <tab> on screen.
  615.  
  616.           No other memory resident utility can intercept this because 
  617.           characters are written directly to screen.  (multi-tasking 
  618.           operating systems, especially on those running on 80386 or
  619.           80486 based PCs are exceptions).
  620.  
  621.           As stressed several times, there are many cases of 
  622.           exceptions and exceptions to exceptions, but documenting all 
  623.           such cases requires a thick book which takes a long time to 
  624.           write, but will be boring and you will not see added value 
  625.           to such a text, so it is not included.
  626.  
  627.           =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  628.                    POPPING DOWN FROM ANOTHER LEVEL ON ANY PAGE
  629.  
  630.           By default, you can go down from any higher level down to 
  631.           lower level at any page. (TXTRUNDC.TXT explains what this is 
  632.           all about graphically).  To restrict this so that you can 
  633.           only go down one level at the page you went up at,
  634.  
  635.           TXTRUN AOFF Eyourfile<ntr>
  636.  
  637.           This Any-page-can-be-popped-off-with-an-<ntr> OFF forces the 
  638.           user to go back to the page which allowed going up to the 
  639.           higher level before going down to the former level.
  640.  
  641.           Note that alphabetically, this should have come in the 
  642.           beginning, but is mentioned this late because this is not 
  643.           expected to be used by as many people as the other options 
  644.           mentioned so far.
  645.  
  646.           =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  647.                     ONE WAY PASSAGE THROUGH PAGES
  648.  
  649.           Normally, when you define a connection between two pages via 
  650.           the left/right cursor or PgUp/PgDn, the passage is a two way 
  651.           road, so that if you enter one page using the left cursor, 
  652.           you can go back to it with the right cursor.
  653.  
  654.           When making a dungeons and dragon game, it is often useful 
  655.           to restrict this passage to allow entry in one direction 
  656.           only.  In this case, use
  657.  
  658.           TXTRUN ONE Eyourfile<ntr>
  659.  
  660.           and the passage way which you define is one-way only.  The 
  661.           TXTRUNDC.TXT explains this as well, and you can change to or 
  662.           back to two-way passage while editing by using the alt-end key
  663.           combination.
  664.  
  665.                On many laptops and all palmtops, you cannot find
  666.                anything called alt-end, but pressing down on the alt
  667.                key and typing "1" on your equivalent of a numeric
  668.                keypad has the same effect.  If you have a choice 
  669.                between typing "1" on your equivalent of a numeric 
  670.                keypad or an alternate <end> key, type "1".
  671.  
  672.           There is no option which begins with just the letter oh "O", 
  673.           but this forces you to type all three letters because 
  674.           accidentally typing "O" by itself or with other options may 
  675.           accidentally activate this feature without your realizing 
  676.           that it was used.
  677.  
  678.           =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  679.                        CLEARING THE SCREEN (NUMBER OF ROWS)
  680.  
  681.           Normally, TXTRUN and the .COM software made by TXTRUN will 
  682.           clear 50 rows on screen.  When you're running the .COM 
  683.           software only on 25 rows screen, this doesn't matter to you, 
  684.           but if you're running the .COM software on the top 25 rows 
  685.           and want to keep whatever you have on the bottom half of 
  686.           your EGA/VGA monitor's 43/50 rows, this gets erased as well.
  687.           To prevent this, try
  688.  
  689.           TXTRUN CLR25 Eyourfile<ntr>
  690.  
  691.           This will only clear the top 25 rows on screen.  The range 
  692.           is between CLR10 through CLR60 to clear only the first 10 
  693.           rows up to 60 rows.
  694.  
  695.           Clearing less than 25 rows is only useful when none of the
  696.           pop up pages will occupy all 25 rows: For example, if all
  697.           pop ups will be 12 rows high and will not go beyond row 12,
  698.           then CLR12 will clear only the top 12 rows and the rest of
  699.           your screen can contain whatever else you wish to display
  700.           at the same time.  (if you write a software to do so, use
  701.           the "^SS" codes in your text to call your software from the
  702.           .COM software made by TXTRUN.
  703.  
  704.           TXTRUN is only designed to handle multiple-level pages when
  705.           the screen is 80 by 50 rows equivalent (80 * 50 * 2 = 8,000
  706.           bytes).  As long as multiple-level pages are not required,
  707.           this will support any width screen up to 60 rows high by
  708.           clearing the background accordingly.
  709.  
  710.  
  711.                     CLEARING THE SCREEN (NUMBER OF COLUMNS)
  712.  
  713.           Normally, TXTRUN (and the .COM software made by TXTRUN) will
  714.           clear whatever width the screen happens to be. (usually 80 
  715.           columns wide).  To clear only 40 columns wide, try
  716.  
  717.           TXTRUN CLC40 Eyourfile<ntr>
  718.  
  719.           This clears only the left most 40 columns on screen.  The 
  720.           range is between CLC10 through CLC100 to clear the left most 
  721.           10 columns up to 100 columns.
  722.  
  723.                Unless you specify CLR25 also,, this will automatically
  724.                clear 50 columns.
  725.  
  726.           If you want these pages to occupy only the left half of the 
  727.           screen and you want something else on the right half, this 
  728.           can be used.  What you use this for is left up to you.
  729.  
  730.  
  731.                     CLEARING THE SCREEN TO ANOTHER ATTRIBUTE
  732.  
  733.           If the .COM software will only be run on color monitors, you
  734.           can make the back ground into another color (attribute) 
  735.           other than black by using the CLRA option.
  736.  
  737.           To make the background blue (the pages themselves will not 
  738.           be affected), try CLRA20 as in
  739.  
  740.           TXTRUN CLRA20 Eyourfile<ntr>
  741.  
  742.           "CLRA 40" will make the background green and "CLRA 50" will 
  743.           make it cyan.  Any text which will appear here will vary in 
  744.           color and other attributes.
  745.  
  746.           For an exact match of the background color to foreground 
  747.           color for any text which will appear here, try the alt-A to 
  748.           pop up the attribute screen while Editing the TXTRUNDC.TXT:
  749.  
  750.           The background color and character colors are as follows
  751.  
  752.            0  1  2  3  4  5  6  7  ....  63
  753.           64 65 66 67 68 69 70 71  .... 127
  754.           128 etc
  755.  
  756.           The very left top location at which you can't see anything 
  757.           is attribute 0, the next one where the letter appears blue 
  758.           on black background is attribute 1.  The second row, first 
  759.           column color where you see black letter on red background is 
  760.           attribute 64 etc.
  761.  
  762.                The bottom half may not be blinking if you use the 512 
  763.                character set on EGA/VGA or may contain other fonts on 
  764.                Hercules Ramfont etc.  What will actually display when 
  765.                you run the .COM will depend on the active drivers and 
  766.                color remapping in effect then.
  767.  
  768.           =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  769.                            ALLOW SNOW ON CGA
  770.  
  771.           This will automatically differentiate between CGA from the 
  772.           others and compensates for the snowing effect on CGA when 
  773.           text is written directly to screen.
  774.  
  775.           This, however, causes the screen to loose about half of the 
  776.           screen when you use the alt-V, alt-H or the alt-M to change 
  777.           or move the pages around on screen.  If you don't mind the 
  778.           snowing effect, then there is an option to treat the CGA 
  779.           video card as EGA/VGA.
  780.  
  781.           TXTRUN CGA Eyourfile<ntr>
  782.  
  783.           This tells TXTRUN to treat all CGA video cards as EGA/VGA, 
  784.           allowing the snowing effect to occur.
  785.  
  786.           This slows down displaying the pages on screen, and there 
  787.           will be a lot of snowing (there is no snow flakes, this is a 
  788.           term used to indicate that there will be a lot of video 
  789.           noise appearing on screen), but you can see the pages 
  790.           changing in size or moving.
  791.  
  792.           =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  793.                            SUBROUTINE SIGNIFIER
  794.  
  795.           No error is reported when you have the S parameter at the 
  796.           moment, but is meant to display the letter "s" when you are 
  797.           not at the base level.  This is not operational.
  798.  
  799.           =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  800.                                 CHANGE BACK
  801.  
  802.           Do not use the C option yet.  It will be used to change the
  803.           .EDT file (or may be the .COM software) back into a regular
  804.           text file, should you loose the original file.
  805.  
  806.           This is not fully operational.  Do not use it.  If no demand 
  807.           for such a feature is requested, it may never be made.
  808.  
  809.           =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  810.                             PATCHING THE PROGRAM
  811.  
  812.           Due to the many features here, and since making 
  813.           modifications on one feature may affects what happens to 
  814.           other features, there may be a bug here which didn't exist 
  815.           before.  As long as the patch required is only minor, there 
  816.           is an option to correct the bug and patch things without 
  817.           using DEBUG.COM.  Do not use it, since tampering without 
  818.           knowing what you're doing can harm your computer hardwares 
  819.           or softwares.
  820.  
  821.           This feature is mentioned so that you'll know what to do if 
  822.           required, not to encourage you to play with it.
  823.  
  824.           TXTRUN P###1 ###2 Eyourfile<ntr>
  825.  
  826.           The patch is in effect when you run only.  It does not 
  827.           permanently change the TXTRUN.EXE program as when DEBUG.COM 
  828.           was used.
  829.  
  830.           The requirement to enter a pair of numbers ###1 is 1 - 65535 
  831.           and is the location.  ###2 is 1 - 65535 and is the value to 
  832.           place at the location.
  833.  
  834.           As long as a patch is very minor, this can run your copy of 
  835.           TXTRUN before a modified version corrects it.
  836.  
  837.  
  838.           =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  839.                            IN CASE OF TROUBLE
  840.  
  841.           If you make the .COM software on one computer, but there is 
  842.           trouble when that .COM software is used on another computer, 
  843.           try going to page 1 on the text before making the .COM, but 
  844.           please report this if it happens.
  845.  
  846.           The .COM software will not run unless there is 128 KB of 
  847.           free system memory.  This is used internally, and if it runs 
  848.           softwares, batch files etc, there has to be such space 
  849.           available to run them.  (Memory is released and used 
  850.           dynamically, so CHKDSK.COM will not report that 128 KB is 
  851.           used at any time.)
  852.  
  853.           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  854.  
  855.           For permanency, contact 
  856.  
  857.           c/o  Sawada             
  858.                LCS                
  859.                P.O. Box 956       
  860.                Outremont, Quebec  
  861.                Canada  H2V 4R8    
  862.  
  863.           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  864.  
  865.  
  866.          ----------------end-of-author's-documentation---------------
  867.  
  868.                          Software Library Information:
  869.  
  870.                     This disk copy provided as a service of
  871.  
  872.                            Public (software) Library
  873.  
  874.          We are not the authors of this program, nor are we associated
  875.          with the author in any way other than as a distributor of the
  876.          program in accordance with the author's terms of distribution.
  877.  
  878.          Please direct shareware payments and specific questions about
  879.          this program to the author of the program, whose name appears
  880.          elsewhere in  this documentation. If you have trouble getting
  881.          in touch with the author,  we will do whatever we can to help
  882.          you with your questions. All programs have been tested and do
  883.          run.  To report problems,  please use the form that is in the
  884.          file PROBLEM.DOC on many of our disks or in other written for-
  885.          mat with screen printouts, if possible.  PsL cannot debug pro-
  886.          programs over the telephone, though we can answer questions.
  887.  
  888.          Disks in the PsL are updated  monthly,  so if you did not get
  889.          this disk directly from the PsL, you should be aware that the
  890.          files in this set may no longer be the current versions. Also,
  891.          if you got this disk from another vendor and are having prob-
  892.          lems,  be aware that  some files may have become corrupted or
  893.          lost by that vendor. Get a current, working disk from PsL.
  894.  
  895.          For a copy of the latest monthly software library newsletter
  896.          and a list of the 3,000+ disks in the library, call or write
  897.  
  898.                            Public (software) Library
  899.                                P.O.Box 35705 - F
  900.                             Houston, TX 77235-5705
  901.  
  902.                                  Orders Only:
  903.                                 1-800-2424-PSL
  904.                               FAX: 713-524-6398
  905.                             CompuServe: 71355,470
  906.                             MC/Visa/AmEx/Discover
  907.  
  908.                           Outside of U.S. or in Texas
  909.                           or for general information,
  910.                               Call 1-713-524-6394
  911.  
  912.  
  913.